package com.mrx.springboot.demo.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author Mr.X
 * @since 2025/7/4 20:54
 */
@RestController
@RequestMapping("/")
public class ExampleController {

    private static final Logger logger = LoggerFactory.getLogger(ExampleController.class);

    @GetMapping("/example")
    public String test() {
        logger.info("test: {}", System.currentTimeMillis());
        return "success";
    }

}
